package com.fenghongzhang.day015;

/**
 * 把从sd卡读取的数据,封装从一个类,
 * 把这个类作为listview的数据源
 */
public class Music {
    //类的属性,根据要求来.

    //歌名
    private String title;
    //歌手
    private String artist;
    private String duration;
    private String data;
    private String size;
    private String albumId;

    public Music() {
    }

    public Music(String title, String artist, String duration, String data, String size, String albumId) {
        this.title = title;
        this.artist = artist;
        this.duration = duration;
        this.data = data;
        this.size = size;
        this.albumId = albumId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getAlbumId() {
        return albumId;
    }

    public void setAlbumId(String albumId) {
        this.albumId = albumId;
    }
}
